# -*- coding: utf-8 -*-
"""
Created on Fri Sep  3 11:21:11 2021

@author: Administrator
"""
#五角星
from turtle import *
def one(size,count):
    color('red','yellow')
    begin_fill()
    while count<5:
        forward(size)
        right(144)
        count=count+1
    end_fill()
def main():
    size=200
    count=0
    penup()
    back(100)
    pendown()
    while(size>100):
        one(size, count)
        size=size-20
    exitonclick()

if __name__ == '__main__':
    main()